From: Adel Gadllah Date: Wed, 29 May 2013 22:53:37 +0000 (+0200) Subject: shell-gtk-embed: Lower tray icon windows to the bottom of the stack X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4088 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0509bb9bb4dd60558a4011ae18fc93a38d87fedf;p=gnome-shell.git shell-gtk-embed: Lower tray icon windows to the bottom of the stack Otherwise they break the "top level window" detection used by the unredirect code in mutter, causes game windows not to be unredirected when tray icons are present. https://bugzilla.gnome.org/show_bug.cgi?id=701224 --- diff --git a/src/shell-gtk-embed.c b/src/shell-gtk-embed.c index 045435eeb..bfff044ff 100644 --- a/src/shell-gtk-embed.c +++ b/src/shell-gtk-embed.c @@ -106,6 +106,8 @@ shell_gtk_embed_window_created_cb (MetaDisplay *display, 0, 0 /* offset x/y */); cairo_region_destroy (empty_region); + gdk_window_lower (gdk_window); + /* Now that we've found the window we don't need to listen for new windows anymore */ g_signal_handler_disconnect (display,